*{margin:0; padding:0;-webkit-tap-highlight-color: transparent;}
*::selection{
    color: #fff;
    background-color: #5bc0de;
}
a{
    color: #666;
}
a:hover{
    text-decoration: none;
    color: #333;
}
ul,li {
    list-style: none;
}
#navbar{
    opacity: 0.9;
}
#search-form{
    position: relative;
}
.search-tips{
    position: absolute;
    top: 46px;
    left: 50%;
    width: 631px;
    background-color: #fff;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0 2px 5px #ccc;
    border: 1px solid #999;
    overflow: hidden;
    /*transform:translateX(-50%);*/
    display: none;
}
.search-tips .advise{
    margin: 0;
}
.search-tips li{
    padding: 8px 6px;
    line-height: 25px;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 1px dashed #f9f9f9;
}
.search-tips li a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 10px 0 0;
    text-overflow: ellipsis;
}
.search-tips li:hover{
    background-color: lightskyblue;
}
.search-tips li:last-child{
    border-bottom: none;
}

#search-form.on{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    height:50px;
    background-color: #000;
    transition: all 0.35s;
}
#search-form.on .form-control{
    border-radius: 4px 0 0 0;
}
#search-form.on .input-group{
    position:absolute;
    width:800px;
    left:50%;
    transform:translateX(-50%);
}

.user-info{
    height: 50px;
    padding: 0 6px;
    transition: all 0.8s;
    cursor: pointer;
    /*background-color: skyblue;*/
}
.user-info .caret{
    position: absolute;
    top: 22px;
    right: 5px;
    transition: all  0.35s;
    border-top:6px dashed;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}
.user-info .caret.rotate{
    transform: rotate(180deg);
}
.user-info .user-thumb{
    float: left;
    height: 100%;
}
.user-thumb img{
    width: 46px;
    margin-top: 2px;
    border-radius: 50%;
}
.user-nick{
    position: relative;
    float: left;
    margin-left:5px;
    padding: 0 25px 0 0px;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
}
.user-info:hover{
    background-color: #FF8C00;
}
.user-nick a{
    display: block;
    overflow: hidden;
    max-width: 100px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff!important;
    text-decoration: none!important;
}

.user-info .dropdown-menu{
    top: 98%;
    min-width: 100px;
    background-color: #FF8C00;
    width: 100%;
    border: none;
}
.user-info .dropdown-menu span{
    margin-right: 5px;
}
.user-info .dropdown-menu li:hover a{
    background-color: rgba(69,136,116,.5);
}
.user-info .dropdown-menu li a{
    padding: 10px;
    border-radius: 5px;
}
.user-no-article{
    min-height: 100vh;
    background: #fff;
    margin-top: 11px;
    border-radius: 5px;
    text-shadow: 0 0 5px #ccc;
    padding: 30px 0;
}
.user-no-article h5{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    line-height: 30vh;
}
.user-no-article .qsbk{
    width: 80%;
    margin: 15px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 25px 15px;
    text-indent: 2em;
    font-size: 16px;
    color: #999;
    box-shadow:0 0 10px #f1f1f1;
}
.website-tips{
    position: absolute!important;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-60%);
    /*width:800px;*/
    height: 300px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    color: #71C671;
}
.website-tips h4{
    font-size: 24px;
    font-weight: bold;
    line-height: 150px;
}
.website-tips h4 span{
    vertical-align: middle;
}
.website-tips h4 span.emjo{
    font-size: 60px;
    margin-right: 20px;
}
.website-tips p{
    font-size: 18px;
}
.website-tips #time{
    padding: 8px;
    background-color: #7AC5CD;
    color: #fff;
    border-radius: 5px;
    margin: 5px;
    font-weight: bold;
    font-size: 20px;
}
footer{
    padding: 10px 10px;
    background-color: rgba(34,34,34,.9);
    color: #888;
    text-shadow: 0 0 5px rgba(255,255,255,.2);
}
footer p{
    margin: 0;
    font-size: 12px;
}
footer a{
    color: #fff;
}
footer a:hover{
    color: #FF8C00;
}

.toTop{
    position: fixed;
    bottom: 50px;
    right: 6px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 1px 1px #f9f9f9;
    background: rgba(240,240,240,0.6) url("../images/totop.png") no-repeat 0 0 / 40px auto;
    transition: background-position 0.35s;
}

.toTop:hover{
    background-position: 0 -40px;
}
/*公共iconfont样式*/
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

@media (max-width: 768px) {
    .website-tips{
        height: 200px;
    }
    .website-tips h4{
        margin-top: 20px;
        line-height: 50px;
        font-size: 14px;
    }
    .website-tips h4 span.emjo{
        font-size: 40px;
    }
    .website-tips #time{
        padding: 5px;
    }
    .website-tips p{
        font-size: 14px;
    }
    .m-menu{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,.8);
        transition: all 0.35s;
        display: none;
    }
    .m-menu .m-menu-inner{
        position: fixed;
        width: 240px;
        top: 0;
        left: -240px;
        bottom: 0;
        padding: 20px;
        transition: all 0.35s;
    }
    .m-menu.open{
       display: block;
    }
    .m-menu.open .m-menu-inner{
        animation: slideBar 0.35s both;
    }
    .m-menu .login-info{
        width: 200px;
        text-align: center;
    }
    .m-menu .user-info{
        border-radius: 4px 4px 0 0;
        background-color: #FF8C00;
    }
    .m-menu .navbar-collapse .nav{
        border-radius: 8px;
        overflow: hidden;
    }
    .m-menu .navbar-collapse li{
        background-color: #fff;
    }
    .m-menu .login-info .user-nick{
        display: block;
    }
    .m-menu .login-info .user-nick .dropdown-menu{
        position: absolute;
        left: -57px;
        top: 48px;
        display: block;
        width: 200px;
        border-radius: 0 0 5px 5px;
    }
    .login-info > a{
        display: inline-block;
        margin: 10px 8px;
        font-weight: bold;
    }
    .navbar-inverse .navbar-nav>li>a:hover{
        color:#FF8C00!important;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .user-nick{
        display: none;
    }
    .login-info{
        position: absolute;
        right: 15px;
    }
}

@keyframes slideBar {
    0%{
        left: -240px;
    }
    100%{
        left: 0;
    }
}

/*��ɫlogo*/
@keyframes slide {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100% 0;
    }
}
#navbar .navbar-brand{
    text-decoration: none;
    text-align: center;
    background-image: -webkit-linear-gradient(
            left,
            #3498db,
            #f47920 10%,
            #d71345 20%,
            #f7acbc 30%,
            #ffd400 40%,
            #3498db 50%,
            #f47920 60%,
            #d71345 70%,
            #f7acbc 80%,
            #ffd400 90%,
            #3498db
    );
    color: transparent;
    -webkit-background-clip: text;
    background-size: 200% 100%;
    animation: slide 2s infinite linear;
    font-weight: 600;
    font-size: 28px;
}